package ssen.mvc.base {
import flash.events.Event;

final public class ContextEvent extends Event {
	public static const FROM_PARENT:String="fromParent";
	public static const FROM_GLOBAL:String="fromGlobal";
	public static const FROM_CHILD:String="fromChild";

	public var evt:Event;
	public var penetrate:Boolean;

	public function ContextEvent(type:String, evt:Event, penetrate:Boolean) {
		super(type);
		this.evt=evt;
		this.penetrate=penetrate;
	}

	override public function clone():Event {
		return new ContextEvent(type, evt, penetrate);
	}
}
}
